package com.matrix.api.im.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author 有点甜
 * @since 2025/8/10
 */
@Data
public class SendOrderMessageDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "接收者ID不能为空")
    private Long toUserId;

    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @NotBlank(message = "客户端消息ID不能为空")
    private String clientMessageId;
}
